package com.lb.jwitter;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import org.hibernate.annotations.ForeignKey;

@Entity
@Table (name="tbl_ctdt_monhoc")
public class Tbl_CTDT_MonHoc implements Serializable {
   private static final long serialVersionUID = -1989579066723007050L;

   private Long id;
   private String ten;
   private String ma;
   private String loai;
   private double soTinChi;
   private Integer soTiet;
   private String heDaoTao;
   private Integer trangThai;
   private String ghiChu;

   @Id
   @GeneratedValue
   public Long getId() {
	    return id;
   }
   public void setId(Long id) {
	    this.id= id;
   }

   public String getTen() {
   	return ten;
   }
   public void setTen(String ten) {
   	this.ten= ten;
   }

   public String getMa() {
   	return ma;
   }
   public void setMa(String ma) {
   	this.ma= ma;
   }

   public String getLoai() {
   	return loai;
   }
   public void setLoai(String loai) {
   	this.loai= loai;
   }

   public double getSoTinChi() {
   	return soTinChi;
   }
   public void setSoTinChi(double soTinChi) {
   	this.soTinChi= soTinChi;
   }

   public Integer getSoTiet() {
   	return soTiet;
   }
   public void setSoTiet(Integer soTiet) {
   	this.soTiet= soTiet;
   }

   public String getHeDaoTao() {
   	return heDaoTao;
   }
   public void setHeDaoTao(String heDaoTao) {
   	this.heDaoTao= heDaoTao;
   }

   public Integer getTrangThai() {
   	return trangThai;
   }
   public void setTrangThai(Integer trangThai) {
   	this.trangThai= trangThai;
   }

   public String getGhiChu() {
   	return ghiChu;
   }
   public void setGhiChu(String ghiChu) {
   	this.ghiChu= ghiChu;
   }
}//endClass 

